package org.suburban.servlet;
import java.io.IOException;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.suburban.resource.Strings;

/**
 * Servlet to send admin welcome message to the client
 * @author Alexey Palamarchuk (slonnik@gmail.com)
 *
 */
@SuppressWarnings("serial")
public class AdminWelcomeServlet extends AdminServlet{
	
	@Override
	protected void doPost(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		
		/** call super class method*/
		super.doPost(req, resp);
		
		/** send admin 'welcome' message */
		sendMessage(Strings.ADMIN_WELCOME);
	}
}
